<template>
    <div style="display: flex; flex-direction: column; align-items: center">
        <img src="@/activityPages/assets/order-success.png" style="width: 132px; height: 132px" />
        <text class="successText">支付成功</text>
    </div>
    <div
        class="bottom"
        style="
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding-bottom: 20px;
        "
    >
        <div class="greenButton">返回便民服务</div>
        <div @click="handleViewBill" class="greenButton greenButton2">查看账单</div>
    </div>
</template>

<script setup lang="ts">
// 付款提示
const handleViewBill = () => {
    uni.navigateTo({ url: '/mainPages/billDetails/index' })
}
</script>

<style lang="scss" scoped>
.greenButton {
    width: 271px;
    height: 40px;
    line-height: 20px;
    border-radius: 4px;
    background-color: rgb(17, 154, 255);
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    text-align: center;
    font-family: Microsoft Yahei;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.greenButton2 {
    margin-top: 20px;
    background-color: rgb(164, 173, 179);
}
.cardShadow {
    padding: 10px;

    margin: 17px;
    line-height: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(16, 16, 16, 1);
    font-size: 14px;
    // text-align: center;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
    font-family: Roboto;
}
.successText {
    line-height: 28px;
    color: rgba(16, 16, 16, 1);
    font-size: 20px;
    text-align: left;
    font-family: PingFangSC-regular;
    font-weight: bold;
}
.input {
    border: none;
}
.button {
    width: 116px;
    height: 35px;
    line-height: 20px;
    border-radius: 20px;
    background-color: rgba(236, 106, 45, 1);
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    text-align: center;
    font-family: Microsoft Yahei;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.inputTitle {
    width: 70px;
    text-align: end;
}
.card {
    line-height: 20px;
    border-radius: 10px;
    background-color: white;
    color: rgba(16, 16, 16, 1);
    font-size: 14px;
    text-align: left;
    font-family: Roboto;
    padding: 10px;
    align-items: flex-start;

    display: flex;
    flex-direction: column;
}
.titleText {
    line-height: 17px;
    color: rgba(16, 16, 16, 1);
    font-size: 12px;
    text-align: left;
    font-family: PingFangSC-regular;
    font-weight: bold;
}
.subText {
    color: rgba(153, 153, 153, 1);
    font-size: 10px;
    text-align: left;
    font-family: PingFangSC-regular;
}
.row {
    display: flex;
    flex-direction: row;
}
.moneyText {
    color: rgba(50, 140, 0, 1);
    font-size: 20px;
    text-align: left;
    font-family: PingFangSC-regular;
}
.divider {
    width: 999px;
    height: 2px;
    background-color: #f5f5f5;
    // border: 1px solid rgba(245, 245, 245, 1);
}
.bottom {
    margin-top: 20px;
    // position: fixed;
    // bottom: calc(var(--window-bottom));
    // z-index: 1030;
    // margin-bottom: 0px;
    // width: 100%;
}
</style>
